package com.cjw.pojo.entity.database;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Table;

/**
 * @author : cjw
 * @date: : 2022/2/7 13:48
 * @description : 管理员实体
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@Table(name = "admin")
@ApiModel("管理员个人信息")
public class AdminDetail extends BaseEntity{
    @ApiModelProperty("名字")
    private String name;

    @ApiModelProperty("工号")
    private String employeeId;

    @ApiModelProperty("身份证号")
    private String idcard;

    @ApiModelProperty("部门")
    private String section;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("职位")
    private String profession;

    @ApiModelProperty("头像")
    private String headImage;

    @ApiModelProperty("用户id")
    private Long userId;
}
